package com.xhtt.modules.reportform.model;

import lombok.Data;

@Data
public class UserTaskCount {
    public UserTaskCount(){}

    public UserTaskCount(Integer userId, String name,int mainCount) {
        this.userId = userId;
        this.name = name;
        this.mainCount = mainCount;
    }
    public UserTaskCount(int assistCount,Integer userId, String name) {
        this.userId = userId;
        this.name = name;
        this.assistCount = assistCount;
    }

    private Integer userId;

    private String name;

    private int mainCount;

    private int assistCount;

    private int allCount;

    public Integer getAllCount() {
        return this.mainCount + this.assistCount;
    }
}
